/**
 * Author: Dmitry Ustimov
 * Date: 5/22/13
 * Time: 3:02 PM
 */

package com.gmail.dmitryustimov.ms.java7.visitor.mod_actionmap.work.demo.structure1_2_4_8_16;

import com.gmail.dmitryustimov.ms.java7.patternslib.visitor.actionmap.Visitor;

public abstract class ElementVisitor<T> extends Visitor<T> {

    public void visitElements(Element element, ElementVisitor visitor) {
        for(Element elem : element.elements) {
            visitor.visit(elem);
        }
    }
}
